<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html>
<head>
    <title>已激活</title>
    <script type="text/javascript" src="${ctx}/static/myJs/util.js"></script>
    <link href="${ctx}/static/datetimepicker/bootstrap/css/bootstrap-datetimepicker.min.css" rel="stylesheet"
          media="screen">
    <script type="text/javascript" src="${ctx}/static/datetimepicker/jquery/bootstrap-datetimepicker.js"
            charset="UTF-8"></script>
    <script type="text/javascript" src="${ctx}/static/datetimepicker/jquery/locales/bootstrap-datetimepicker.zh-CN.js"
            charset="UTF-8"></script>
</head>

<body>
<div class="content">
    <div class="page-subcate-list">
        <div class="page-subcate-item">
<%--            <label>预约日期</label>
            <div class="form-item">
                <div id="inputStartDate" class="input-group date form_date col-md-1" data-date=""
                     data-date-format="yyyy-mm-dd"
                     data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
                    <input class="form-control" size="16" type="text" id="startDate" value="" readonly>
                    <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                    <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                </div>
                <input type="hidden" id="dtp_input2" value=""/>
            </div>--%>

            <label>证件号</label>
            <div class="form-item">
                <input type="text" class="form-control" id="title" placeholder="" value="">

                <div class="pull-right">
                    <button onclick="javascript:searchActivity();" class="pull-left btn">查询</button>
                </div>
            </div>
        </div>
        <!--
        <div class="page-subcate-item">
            <label>活动标签</label>
            <ul class="choices">
                <li><a href="#">XXXXX</a></li>
                <li><a href="#">XXXXX</a></li>
                <li><a href="#">XXXXX</a></li>
                <li><a href="#">XXXXX</a></li>
            </ul>
            <span class="more">
                <a href="#">更多 <i class="fa fa-angle-down" aria-hidden="true"></i></a>
            </span>
        </div>
        -->
    </div>
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>制证日期</th>
            <th>姓名</th>
            <th>护照编号</th>
            <th>有效期</th>
            <th>手机</th>
            <th>性别</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${data.content}" var="item" varStatus="status">
            <tr id="${item.id}">
                <td>${item.signDate}</td>
                <td>${item.name}</td>
                <td>${item.passportNO}</td>
                <td>${item.validityDate}</td>
                <td>${item.mobile}</td>
                <td>${item.sex}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
    <tags:pagination page="${data}" paginationSize="5"/>
</div>
<script type="text/javascript">
    $(function(){//已激活
        $("[href='#asideCollapse4']").click();//展开公益护照管理
        $("#asideCollapse4 li:eq(3) a").css({"background-color":"#30c9a0","color":"#fff"});
        $("#asideCollapse4 li:eq(3) a").mouseover(function(){
            $(this).css({"background-color":"#30c9a0"})
        });
    })
    $('#inputStartDate').datetimepicker({
        language: 'zh-CN',
        weekStart: 1,
        todayBtn: 1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        minView: 2,
        forceParse: 0
    });
</script>

</body>
</html>
